function [res_mkkmmr, timeElapsed, resAIO,biaozhuncha,fangcha] = MKKMMR_single_dataset(Ks, Y, lambdas, nRepeat)
[nSmp, ~, nKernel] = size(Ks);
nCluster = length(unique(Y));
if ~exist('nRepeat', 'var')
    nRepeat = 1;
end


if ~exist('lambdas', 'var')
    lambdas = 2.^[-15:15];
end

tic;
resAIO = zeros(length(lambdas), 3);
for i2 = 1:length(lambdas)
    lambda = lambdas(i2);
    res_mkkmmr = [];
    for i1 = 1:nRepeat
       res_mkkmmr= MKKMMR(Y,Ks, nCluster, lambda);

    end
    resAIO(i2,:) = mean(res_mkkmmr, 1);
     biaozhuncha=std(res_mkkmmr,0,1);
    fangcha=var(res_mkkmmr,0,1);
end

timeElapsed = toc;